﻿using System.Windows.Controls;
using System.Windows.Input;
using SomethingSpacial.CustomControls;
using SomethingSpacial.ViewModel;

namespace SomethingSpacial.Views.Default
{
    public partial class PastMeetings : UserControl
    {
        public PastMeetings()
        {
            InitializeComponent();
            this.Loaded += new System.Windows.RoutedEventHandler(PastMeetings_Loaded);
        }

        void PastMeetings_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            ((PastEventsViewModel)this.DataContext).loadEvents();
        }

    }
}
